/**
 * 给 当前 事件 组 绑定 this 指向
 * @param that 当前 对象
 * @param eventBindObjName 默认 eventBind
 */
export function forBindEventThis(that: any, eventBindObjName = 'eventBind') {
  for (const key in that[eventBindObjName]) {
    that[eventBindObjName][key] = that[key].bind(that);
  }
}
